package com.itrip.itripauth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itrip.itripauth.entity.Comment;
import com.itrip.itripauth.entity.Hotel;
import com.itrip.itripauth.entity.LabelDic;
import com.itrip.itripauth.vo.*;

import java.util.List;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author 四阶段项目二组
 * @since 2020-02-25
 */
public interface CommentService extends IService<Comment> {

    Hotel getHotelDesc(Integer hotelId);

    List<LabelDic> getTravelType();

    int addComment(CommentVo commentVo);

    HotelScoreVo scoreList(Integer hotelId);

    CommentCountVo commCount(Integer hotelId);

    PageVo<Comment> getCommentList(CommentListVo commentListVo);
}
